<template>
    <div>
        <div class="panel-title">
            <img src="/vite.svg" style="width: 20px;" alt="">
            <!-- <Icon name="el-icon-Management" color="rgb(64, 158, 255)" size="18" /> -->
            图层管理
        </div>
        <el-scrollbar style="height: calc(100% - 50px)">
            <layerAdmin :tree-data="cardStore.cards" />
        </el-scrollbar>

    </div>
</template>
<script setup>
import { userCardStore } from '../../store/userCardStore'
import layerAdmin from './layer-admin.vue'
const cardStore = userCardStore()
</script>
<style lang="less" scoped>
.panel-title {
    color: rgb(64, 158, 255);
    font-size: 20px;
    height: 50px;
    padding: 10px;
    background-color: #fcfcfc;
}
</style>
